package cn.gobang.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.gobang.bean.User;
import cn.gobang.dao.UserDao;

@Service
public class UserService {

    @Resource
    private UserDao userDao;
    
    public List<User> userlogin(String username, String password) {
        return userDao.findUserById(username, password);
    }

}
